import * as React from "react";
import * as LocationProps from "../common/locationProps";

class Card extends React.Component<Partial<LocationProps.LocationProps>> {
    render() {
        const prop = LocationProps.MergeClassNames(["card"], this.props);
        return (
            <div className={LocationProps.ClassNameString(prop)} id={this.props.id}>
                {this.props.children}
            </div >
        )
    }
}

export default Card;